#include "loginwidget.h"

#include <QApplication>
#include <QFile>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QFile styleFile(":/qss/stylesheet.qss");
    if (styleFile.exists())
    {
       styleFile.open(QFile::ReadOnly);
       QString styleSheet = QLatin1String(styleFile.readAll());
       qApp->setStyleSheet(styleSheet);
       styleFile.close();
    }

    LoginWidget w;
    w.show();
    return a.exec();
}
